import './index.scss';
import 'antd/dist/antd.css';
import { Input } from 'antd';
const { TextArea } = Input;

/**
 * @npme  列表循环组件
 * @param {*} Props 
 * @returns 
 */
export function GMyDiary(Props){
    const {image} = Props;
    console.log(image);
    return(
        <div className={'g-mydiary'}>
            <h2>我的日记</h2>
            <p></p>
            <div className={'g-mydiary-tool'}>
                <img src={image.i_user} alt="" />
                <img src={image.i_user} alt="" />
                <img src={image.i_user} alt="" />
            </div>
            <div className={'g-mydiary-book'}>
                <div className={'left'}>
                    <div>
                        <span className={'date'}>2018.06.23 周一 晴</span>
                    </div>
                    <div>
                        <h3 className={'title'}>突如其来，淡定自若</h3>
                    </div>
                    <div>
                        <h3 className={'name'}>易水寒</h3>
                    </div>
                    <div>
                        <span className={'page'}>下一页</span>
                    </div>
                    
                    
                </div>
                <div className={'right'}>
                <TextArea rows={6} />
                </div>
            </div>
            
        </div>
        
    )
}

